<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">

    <title>我的信息</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/bootstrap/css/bootstrap.min.css">
    <script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
    <script src="${pageContext.request.contextPath}/bootstrap/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/index.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/wode/styles.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/wode/wodexinxi/styles.css">
</head>

<body>
    <div class="container">
        <nav class="navbar navbar-expand-lg navbar-light ">
            <a class="navbar-brand" href="${pageContext.request.contextPath}/index.jsp">
                <img src="${pageContext.request.contextPath}/images/index/logo.png" alt="" style="width: 10vw;">
            </a>

            <div class="collapse navbar-collapse" id="navbarNavAltMarkup">
                <div class="navbar-nav">
                    <a class="nav-item nav-link" href="#">酒店预订</a>
                    <a class="nav-item nav-link" href="#">积分商城</a>
                    <a class="nav-item nav-link" href="#">关于首旅如家</a>
                </div>

            </div>
            <div class="login">
                <img src="${pageContext.request.contextPath}/images/index/denglu.png" alt="">
                <c:if test="${empty curUser}">
                    <a href="${pageContext.request.contextPath}/jsp/login.jsp">登录</a>|<a
                    href="${pageContext.request.contextPath}/jsp/register.jsp">注册</a>
                </c:if>
                <c:if test="${not empty curUser}">
                    <span>欢迎您，</span>
                    <a href="${pageContext.request.contextPath}/InfoServlet?type=jiabinhui">${curUser.username}</a>|<a
                    href="${pageContext.request.contextPath}/ExitServlet">退出</a>
                </c:if>
            </div>
        </nav>
    </div>
    <hr>
    <div class="daohang">
        <ol class="breadcrumb" style="background-color:transparent;font-size:8px;">
            <li>当前位置： <a href="${pageContext.request.contextPath}/index.jsp">首旅如家</a>&nbsp;/&nbsp;</li>
            <li><a href="${pageContext.request.contextPath}/InfoServlet?type=jiabinhui">我的</a>&nbsp;/&nbsp;</li>
            <li class="active">&nbsp;我的信息</li>
        </ol>
    </div>
    <div class="zhong">
        <div class="zuo">
            <div class="zuoxiao"><a href="${pageContext.request.contextPath}/InfoServlet?type=jiabinhui">我的家宾会</a></div>
            <div class="zuoxiao"><a href="${pageContext.request.contextPath}/jsp/wodexinxi.jsp" class="cur">我的信息</a></div>
            <div class="zuoxiao"><a href="${pageContext.request.contextPath}/DingdanInfoServlet">我的订单信息</a></div>
<%--            <div class="zuoxiao"><a href="${pageContext.request.contextPath}/CollectionHotelServlet?type=find">我的收藏酒店</a></div>--%>
<%--            <div class="zuoxiao"><a href="${pageContext.request.contextPath}/jsp/wodefapiaoguanli.jsp">发票管理</a></div>--%>
            <div class="zuoxiao"><a href="${pageContext.request.contextPath}/CommonAddressServlet?type=info">常用地址</a></div>
        </div>
        <div class="you">

            <div>
                <div class="rtop">
                    <div class="one">
                        <a class="navbar-brand" href="#">
                            <img src="${pageContext.request.contextPath}/images/wode/logo.png">
                        </a>
                    </div>
                    <div class="two">
                        <h5>${curUser.username}</h5>
                        <p>主会员</p>
                    </div>
                    <div class="tree">
                        <p style="font-size:14px">请完善您的个人信息，以便获得更好的服务。</p>
                        <p style="font-size:14px">妥善保管您的登录密码，以保障您的账户安全。</p>
                    </div>
                </div>
                <form action="${pageContext.request.contextPath}/jsp/xiugaixinxi.jsp" id="InfoForm" method="post">
                    <div class="rbot">
                        <table class="tbboder">
                            <tr>
                                <td class="td1 ">用户名:</td>
                                <td>${curUser.username}</td>
                            </tr>
                            <tr>
                                <td class="td1 ">电话:</td>
                                <td>${curUser.phone}</td>
                            </tr>
                            <tr>
                                <td class="td1 ">电子邮箱:</td>
                                <td>${curUser.email}</td>
                            </tr>
                            <tr>
                                <td class="td1 ">性别:</td>
                                <td>${curUser.sex}</td>
                            </tr>
                            <tr>
                                <td class="td1 ">联系地址:</td>
                                <td>${curUser.address}</td>
                            </tr>
                            <tr>
                                <td class="td1 ">邮编:</td>
                                <td>${curUser.postcode}</td>
                            </tr>
                        </table>
                        <button type="submit" class="btn btn-success">修改信息</button>
                    </div>
                </form>

            </div>
        </div>
    </div>
    <div class="container-fluid model-8">
        <div class="container">
            <div class="row">
                <div class="col-2">
                    <ul>
                        <li>
                            <h5>酒店预订</h5>
                        </li>
                        <li><a href="javascript:void(0)">地图预订</a></li>
                        <li><a href="javascript:void(0)">企业客户申请</a></li>
                        <li><a href="javascript:void(0)">目录预订</a></li>
                    </ul>
                </div>
                <div class="col-2">
                    <ul>
                        <li>
                            <h5>家宾会</h5>
                        </li>
                        <li><a href="javascript:void(0)">会员手册</a></li>
                        <li><a href="javascript:void(0)">会员公告</a></li>
                        <li><a href="javascript:void(0)">积分商城</a></li>
                    </ul>
                </div>
                <div class="col-2">
                    <ul>
                        <li>
                            <h5>加盟合作</h5>
                        </li>
                        <li><a href="javascript:void(0)">高端酒店品牌</a></li>
                        <li><a href="javascript:void(0)">中高端品牌</a></li>
                        <li><a href="javascript:void(0)">经济型商旅品牌</a></li>
                        <li><a href="javascript:void(0)">亲子品牌</a></li>
                        <li><a href="javascript:void(0)">软品牌云酒店</a></li>
                        <li><a href="javascript:void(0)">华驿系列轻加盟</a></li>
                        <li><a href="javascript:void(0)">招商会行程</a></li>
                    </ul>
                </div>
                <div class="col-2">
                    <ul>
                        <li>
                            <h5>酒店集团</h5>
                        </li>
                        <li><a href="javascript:void(0)">企业文化</a></li>
                        <li><a href="javascript:void(0)">大事记</a></li>
                        <li><a href="javascript:void(0)">品牌介绍</a></li>
                        <li><a href="javascript:void(0)">集团快讯</a></li>
                        <li><a href="javascript:void(0)">投资者关系</a></li>
                        <li><a href="javascript:void(0)">联系我们</a></li>
                        <li><a href="javascript:void(0)">招贤纳士</a></li>
                        <li><a href="javascript:void(0)">工程招标</a></li>
                    </ul>
                </div>
                <div class="col-4">
                    <div class="content">

                        酒店预订电话<br>
                        <span>400 820 3333 或 1010 3333</span><br> 服务时间为7点-24点
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="container-fluid footer">
        © 2021 Homeinns Co.,Ltd All Rights Reserved.酒店管理（上海）有限公司
    </div>
</body>

</html>